<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    标题：<input type="text" id="title" value="" /><br />
	收件人：<input type="text" id="name" value="" /><br />
	内容：
	<textarea id="content" rows="30" cols="100">
		
	</textarea><br />
	<button type="button" onclick="btn()">发送</button>
	<script src="bck/static/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		function btn()
		{
			$.ajax({
				type:"post",
				url:"/PHPMailer.php",
				data:{
					title:$("#title").val(),
					name:$("#name").val(),
					content:$("#content").val()
				}
			});
		}
		
	</script>
</body>
</html>